package RemotePlay.test;
import java.rmi.RemoteException;
//import java.rmi.server.UniCastRemoteObject;
import java.rmi.server.UnicastRemoteObject;

public class ImpHelloRmi extends UnicastRemoteObject implements IntHelloRmi{
    private static final long serialVersionUID=1L;
    public ImpHelloRmi() throws RemoteException{super();}
    public String helloRmi()throws RemoteException{
        return "Hello Rmi";
    }
     
    public String sayHello(String name)throws RemoteException{
        return "Hello "+name+"!";
    }
}